Svag matchende rim for photothyristor